package com.nercel.dsj.gksales.constant;

/**
 * @author sunlin
 * @date 2018-10-30
 */
public class Const {

    public static final Integer PAGE_SIZE = 10;

    public static final String[] SHIRO_FILTERS = {"anon", "authc", "authcBasic", "perms", "port", "rest", "roles", "ssl",
            "user", "restUser", "restRoles", "restAuthc", "restPerms"};

    /**
     * jwt
     */
    public static final String JWT_ID = "jwt";
    public static final String JWT_SECRET = "hong1mu2zhi3ruan4jian5";
    public static final int JWT_TTL = 60 * 60;  //second
    public static final int JWT_REFRESH_INTERVAL = 55 * 60 * 1000;  //second
    public static final int JWT_REFRESH_TTL = 12 * 60 * 60 * 1000;  //second


}
